package cn.huat.pojo;

import java.io.Serializable;
import java.util.Date;

public class Notice implements Serializable {
    private String noticeno;

    private Integer publishngmaker;

    private String deaprtment;

    private String topic;

    private String content;

    private Date publishingtime;

    private Integer state;

    private static final long serialVersionUID = 1L;

    public String getNoticeno() {
        return noticeno;
    }

    public void setNoticeno(String noticeno) {
        this.noticeno = noticeno == null ? null : noticeno.trim();
    }

    public Integer getPublishngmaker() {
        return publishngmaker;
    }

    public void setPublishngmaker(Integer publishngmaker) {
        this.publishngmaker = publishngmaker;
    }

    public String getDeaprtment() {
        return deaprtment;
    }

    public void setDeaprtment(String deaprtment) {
        this.deaprtment = deaprtment == null ? null : deaprtment.trim();
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic == null ? null : topic.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Date getPublishingtime() {
        return publishingtime;
    }

    public void setPublishingtime(Date publishingtime) {
        this.publishingtime = publishingtime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", noticeno=").append(noticeno);
        sb.append(", publishngmaker=").append(publishngmaker);
        sb.append(", deaprtment=").append(deaprtment);
        sb.append(", topic=").append(topic);
        sb.append(", content=").append(content);
        sb.append(", publishingtime=").append(publishingtime);
        sb.append(", state=").append(state);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}